<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
    <!-- <link rel="stylesheet" href="css/pGis.css" media="all"> -->
    <link rel="stylesheet" href="css/map.css" media="all">
    <link rel="stylesheet" href="css/rangeSlider.css" media="all">
    <link rel="stylesheet" href="css/ion.rangeSlider.skinFlat.css" id="styleSrc" />
</head>

<body>
    <div class="rangeBox">
        <input type="text" id="demo_2" />
    </div>
</body>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="js/rangeSlider.min.js"></script>
<script type="text/javascript">
	$("#demo_2").ionRangeSlider({

		min: 0,

		max: 5000,

		from: 1000,

		to: 4000,

		type: 'double',//设置类型

		step: 1,

		prefix: "",//设置数值前缀

		postfix: "元",//设置数值后缀

		prettify: true,

		hasGrid: true

    });
</script>    
</html>